package org.zhxy.zhxy.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface HomeDao {
    int getOpenClassroomNum();

    int getCloseClassroomNum();

    List<Map<String,Integer>> getOftenUseClassroomTopTen(@Param("startTime") Date firstMonthStartTime,
                                                         @Param("endTime") Date fifthMonthEndTime);
}
